<?php



class ClosedcashMapBuilder implements MapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ClosedcashMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap(ClosedcashPeer::DATABASE_NAME);

		$tMap = $this->dbMap->addTable(ClosedcashPeer::TABLE_NAME);
		$tMap->setPhpName('Closedcash');
		$tMap->setClassname('Closedcash');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('MONEY', 'Money', 'VARCHAR', true, 255);

		$tMap->addColumn('HOST', 'Host', 'VARCHAR', true, 255);

		$tMap->addColumn('HOSTSEQUENCE', 'Hostsequence', 'INTEGER', true, 11);

		$tMap->addColumn('DATESTART', 'Datestart', 'TIMESTAMP', true, null);

		$tMap->addColumn('DATEEND', 'Dateend', 'TIMESTAMP', false, null);

	} 
} 